libxl: use correct command line for arm guests.
authorIan Campbell <ian.campbell@citrix.com>
Thu, 6 Aug 2015 10:55:57 +0000 (11:55 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 6 Aug 2015 12:45:49 +0000 (13:45 +0100)
commit201eac83831d94ba2e9a63a7eed4c128633fafb1
tree606920db3d58bccff4505752f0bf6546016c0341
parent0174da5b79752e2d5d6ca0faed89536e8f3d91c7
libxl: use correct command line for arm guests.

We need to use libxl__domain_build_state.pv_cmdline in order to pickup
the correct args when using pygrub. libxl_domain_build_info.cmdline is
any args statically configured by the user.

This is consistent with the call to xc_domain_allocate, which takes
the cmdline too (in that case for x86/PV usage).

state->pv_cmdline is also set for non-pygrub guests, since
libxl__bootloader_run propagates info->cmdline if no bootloader is
configured.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_arm.c